package com.mzj.saas.mservice.bill.entity;


import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 电费
 */

@Entity
@Table(name = "saas_house_expense_electric")
public class HouseExpenseElectric extends IdEntity{

    @Column(name = "rule_id",nullable = true)
    private String ruleId; //规则id

    @Column(name = "expense_id",nullable = true)
    private Long expenseId; //项目id

    @Column(name = "electric_start_num",nullable = true)
    private Integer electricStartNum; //电起数

    @Column(name = "electric_end_num",nullable = true)
    private Integer electricEndNum; //电止数

    @Column(name = "electric_usage",nullable = true)
    private Integer electricUsage; //电用量(度)

    @Column(name = "electric_unit_price")
    private Integer electricUnitPrice; //电单价(元/度)

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public Long getExpenseId() {
        return expenseId;
    }

    public void setExpenseId(Long expenseId) {
        this.expenseId = expenseId;
    }

    public Integer getElectricStartNum() {
        return electricStartNum;
    }

    public void setElectricStartNum(Integer electricStartNum) {
        this.electricStartNum = electricStartNum;
    }

    public Integer getElectricEndNum() {
        return electricEndNum;
    }

    public void setElectricEndNum(Integer electricEndNum) {
        this.electricEndNum = electricEndNum;
    }

    public Integer getElectricUsage() {
        return electricUsage;
    }

    public void setElectricUsage(Integer electricUsage) {
        this.electricUsage = electricUsage;
    }

    public Integer getElectricUnitPrice() {
        return electricUnitPrice;
    }

    public void setElectricUnitPrice(Integer electricUnitPrice) {
        this.electricUnitPrice = electricUnitPrice;
    }
}
